package com.ys.nms.module.business.controller.admin.redData;

import lombok.Data;

import java.util.Collections;
import java.util.List;
import lombok.Data;
import java.util.List;
import java.util.Map;

import lombok.Data;

@Data
public class RrdDataPoint {
    private Long timestamp;
    private Double value;   // 第一列的值，保持兼容
    private Map<String, Double> metrics; // 所有列的值

    public boolean isValid() {
        return value != null && !value.isNaN();
    }
}